|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectvitalsFacade.VitalsFacade
VitalsFacade Facade from the application facade pattern.
| Constructor Summary | |
VitalsFacade(Patient subject)
Sole constructor for the application facade. |
|
| Method Summary | |
java.lang.String |
getBloodPressureDiastolic()
Searches the value for the diastolic blood pressure attribute and gives a string representing the value. |
java.lang.String |
getBloodPressureDiastolicName()
Searches the phenomenon that describes the quality of the diastolic blood pressure (eg. |
java.lang.String |
getBloodPressureSystolic()
Searches the latest value of the systolic blood pressure and gives a string representing it. |
java.lang.String |
getBloodPressureSystolicName()
Searches the phenomenon that describes the quality of the diastolic blood pressure (eg. |
java.lang.String |
getBMI()
Gives the calculated body mass index of the patient. |
java.lang.String |
getBMIName()
Gives a valuation in quality for the BMI (eg. |
java.lang.String |
getBreathingRate()
Searches the latest value for a patient's breathing rate and gives a string representation. |
java.lang.String |
getBreathingRateName()
Gives a valuation in quality for the breathing rate (eg. |
java.util.Date |
getDate()
Used to decide whether a measurement is the latest or not. |
java.lang.String |
getGender()
Should be self-explanatory! |
java.lang.String |
getHeartRate()
Searches the latest value of a patient's heart rate and gives a string representation. |
java.lang.String |
getHeartRateName()
Gives a valuation in quality for the heart rate (eg. |
java.lang.String |
getHeight()
Gives patient's heigth in inches. |
java.lang.String |
getLevelOfConsciousness()
Gives a patient's level of consciousness (eg. |
java.util.Enumeration |
getLevelOfConsciousnessValues()
Use this if you want to get to know all possible values of LOC. |
java.lang.String |
getName()
Gives the patient's name. |
boolean |
getShock()
Lets you see if patient is in shock. |
Patient |
getSubject()
Gets the actual patient object. |
java.lang.String |
getWeight()
Gives a patient's weight. |
void |
loadAttributes()
Loads all attributes related to the patient. |
void |
saveAttributes()
Saves the actual values of the attributes. |
void |
setBloodPressureDiastolic(java.lang.String pressure)
Sets the diastolic blood pressure. |
void |
setBloodPressureSystolic(java.lang.String pressure)
Sets the systolic blood pressure. |
void |
setBreathingRate(java.lang.String newRate)
Sets the breathing rate. |
void |
setGender(java.lang.String gender)
Sets the patient's gender. |
void |
setHeartRate(java.lang.String newRate)
Sets a new heart rate value. |
void |
setHeight(java.lang.String height)
Sets the height of the patient. |
void |
setLevelOfConsciousness(java.lang.String loc)
Sets a level of consciousness. |
void |
setShock(boolean isInShock)
Sets if patient is in shock. |
void |
setSubject(java.lang.String name)
Saves the actual patient's data and loads another. |
void |
setWeight(java.lang.String weight)
Sets the patient's weight. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VitalsFacade(Patient subject)
subject - the patient you are dealing with at the moment| Method Detail |
public java.lang.String getBloodPressureDiastolic()
setBloodPressureDiastolic(java.lang.String)public java.lang.String getBloodPressureDiastolicName()
public java.lang.String getBloodPressureSystolic()
setBloodPressureSystolic(String)public java.lang.String getBloodPressureSystolicName()
public java.lang.String getBMI()
public java.lang.String getBMIName()
public java.lang.String getBreathingRate()
setBreathingRate(String)public java.lang.String getBreathingRateName()
public java.util.Date getDate()
public java.lang.String getGender()
setGender(String)public java.lang.String getHeartRate()
setHeartRate(String)public java.lang.String getHeartRateName()
public java.lang.String getHeight()
setHeight(String)public java.lang.String getLevelOfConsciousness()
setLevelOfConsciousness(String)public java.util.Enumeration getLevelOfConsciousnessValues()
public java.lang.String getName()
public boolean getShock()
setShock(boolean)public Patient getSubject()
setSubject(String)public java.lang.String getWeight()
setWeight(String)public void loadAttributes()
public void saveAttributes()
public void setBloodPressureDiastolic(java.lang.String pressure)
pressure - observed diastolic blood pressure in mm/HggetBloodPressureDiastolic()public void setBloodPressureSystolic(java.lang.String pressure)
pressure - observed systolic blood pressure in mm/HggetBloodPressureSystolic()public void setBreathingRate(java.lang.String newRate)
newRate - observed breathing rate in breaths/mingetBreathingRate()public void setGender(java.lang.String gender)
gender - the patient's gendergetGender()public void setHeartRate(java.lang.String newRate)
newRate - observed heart rate in beats/mingetHeartRate()public void setHeight(java.lang.String height)
height - patient's height in inchesgetHeight()public void setLevelOfConsciousness(java.lang.String loc)
loc - observed level of consciousnessgetLevelOfConsciousness()public void setShock(boolean isInShock)
isInShock - true if observed the patient is in shockgetShock()public void setSubject(java.lang.String name)
name - the name of the patient you want to loadgetSubject()public void setWeight(java.lang.String weight)
weight - patient's weight in poundsgetWeight()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||